#include "task_test.h"
TaskHandle_t Hd_Task_Test;

void Task_test(void *param)
{
    uint32_t time;
    while(1)
    {
        time++;
        if(time>100)
        {
            time = 0;
            DDL_Printf("Task_test\r\n");
        }
        if(Usart1_rxlen != 0)
        {
//            bsp_uart1_transfer_dma(USART1_Buffer,Usart1_rxlen);
            Usart1_rxlen = 0;
        }
        vTaskDelay(10/portTICK_PERIOD_MS);
    }
}    

void First_Task_Start(void)
{
    xTaskCreate(Task_test,\
    (const char *)"Task_test", \
        configMINIMAL_STACK_SIZE*2, \
    NULL, \
    tskIDLE_PRIORITY+3, \
    &Hd_Task_Test );
}
void OS_Start(void)
{
    First_Task_Start();
    vTaskStartScheduler();
}

